package com.example.wlzz.repository;

import com.example.wlzz.entity.Major;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface MajorRepository extends JpaRepository<Major,Integer> {
    List<Major> findByDepartmentId(String departmentId);
}
